3.699 \(\int \frac{(A+B x) (a^2+2 a b x+b^2 x^2)^{5/2}}{x^{10}} \, dx\)

Optimal. Leaf size=304 \[ -\frac{a^4 \sqrt{a^2+2 a b x+b^2 x^2} (a B+5 A b)}{8 x^8 (a+b x)}-\frac{5 a^3 b \sqrt{a^2+2 a b x+b^2 x^2} (a B+2 A b)}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 \sqrt{a^2+2 a b x+b^2 x^2} (a B+A b)}{3 x^6 (a+b x)}-\frac{a b^3 \sqrt{a^2+2 a b x+b^2 x^2} (2 a B+A b)}{x^5 (a+b x)}-\frac{b^4 \sqrt{a^2+2 a b x+b^2 x^2} (5 a B+A b)}{4 x^4 (a+b x)}-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)} \]

[Out]

-(a^5*A*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(9*x^9*(a + b*x)) - (a^4*(5*A*b + a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(
8*x^8*(a + b*x)) - (5*a^3*b*(2*A*b + a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(7*x^7*(a + b*x)) - (5*a^2*b^2*(A*b +
 a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(3*x^6*(a + b*x)) - (a*b^3*(A*b + 2*a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(
x^5*(a + b*x)) - (b^4*(A*b + 5*a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(4*x^4*(a + b*x)) - (b^5*B*Sqrt[a^2 + 2*a*b
*x + b^2*x^2])/(3*x^3*(a + b*x))

________________________________________________________________________________________

Rubi [A]  time = 0.11693, antiderivative size = 304, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.069, Rules used = {770, 76} \[ -\frac{a^4 \sqrt{a^2+2 a b x+b^2 x^2} (a B+5 A b)}{8 x^8 (a+b x)}-\frac{5 a^3 b \sqrt{a^2+2 a b x+b^2 x^2} (a B+2 A b)}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 \sqrt{a^2+2 a b x+b^2 x^2} (a B+A b)}{3 x^6 (a+b x)}-\frac{a b^3 \sqrt{a^2+2 a b x+b^2 x^2} (2 a B+A b)}{x^5 (a+b x)}-\frac{b^4 \sqrt{a^2+2 a b x+b^2 x^2} (5 a B+A b)}{4 x^4 (a+b x)}-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)} \]

Antiderivative was successfully verified.

[In]

Int[((A + B*x)*(a^2 + 2*a*b*x + b^2*x^2)^(5/2))/x^10,x]

[Out]

-(a^5*A*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(9*x^9*(a + b*x)) - (a^4*(5*A*b + a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(
8*x^8*(a + b*x)) - (5*a^3*b*(2*A*b + a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(7*x^7*(a + b*x)) - (5*a^2*b^2*(A*b +
 a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(3*x^6*(a + b*x)) - (a*b^3*(A*b + 2*a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(
x^5*(a + b*x)) - (b^4*(A*b + 5*a*B)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(4*x^4*(a + b*x)) - (b^5*B*Sqrt[a^2 + 2*a*b
*x + b^2*x^2])/(3*x^3*(a + b*x))

Rule 770

Int[((d_.) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Dis
t[(a + b*x + c*x^2)^FracPart[p]/(c^IntPart[p]*(b/2 + c*x)^(2*FracPart[p])), Int[(d + e*x)^m*(f + g*x)*(b/2 + c
*x)^(2*p), x], x] /; FreeQ[{a, b, c, d, e, f, g, m}, x] && EqQ[b^2 - 4*a*c, 0]

Rule 76

Int[((d_.)*(x_))^(n_.)*((a_) + (b_.)*(x_))*((e_) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*
x)*(d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, d, e, f, n}, x] && IGtQ[p, 0] && (NeQ[n, -1] || EqQ[p, 1]) && N
eQ[b*e + a*f, 0] && ( !IntegerQ[n] || LtQ[9*p + 5*n, 0] || GeQ[n + p + 1, 0] || (GeQ[n + p + 2, 0] && Rational
Q[a, b, d, e, f])) && (NeQ[n + p + 3, 0] || EqQ[p, 1])

Rubi steps

\begin{align*} \int \frac{(A+B x) \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{x^{10}} \, dx &=\frac{\sqrt{a^2+2 a b x+b^2 x^2} \int \frac{\left (a b+b^2 x\right )^5 (A+B x)}{x^{10}} \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=\frac{\sqrt{a^2+2 a b x+b^2 x^2} \int \left (\frac{a^5 A b^5}{x^{10}}+\frac{a^4 b^5 (5 A b+a B)}{x^9}+\frac{5 a^3 b^6 (2 A b+a B)}{x^8}+\frac{10 a^2 b^7 (A b+a B)}{x^7}+\frac{5 a b^8 (A b+2 a B)}{x^6}+\frac{b^9 (A b+5 a B)}{x^5}+\frac{b^{10} B}{x^4}\right ) \, dx}{b^4 \left (a b+b^2 x\right )}\\ &=-\frac{a^5 A \sqrt{a^2+2 a b x+b^2 x^2}}{9 x^9 (a+b x)}-\frac{a^4 (5 A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{8 x^8 (a+b x)}-\frac{5 a^3 b (2 A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{7 x^7 (a+b x)}-\frac{5 a^2 b^2 (A b+a B) \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^6 (a+b x)}-\frac{a b^3 (A b+2 a B) \sqrt{a^2+2 a b x+b^2 x^2}}{x^5 (a+b x)}-\frac{b^4 (A b+5 a B) \sqrt{a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)}-\frac{b^5 B \sqrt{a^2+2 a b x+b^2 x^2}}{3 x^3 (a+b x)}\\ \end{align*}

Mathematica [A]  time = 0.0413283, size = 125, normalized size = 0.41 \[ -\frac{\sqrt{(a+b x)^2} \left (120 a^3 b^2 x^2 (6 A+7 B x)+168 a^2 b^3 x^3 (5 A+6 B x)+45 a^4 b x (7 A+8 B x)+7 a^5 (8 A+9 B x)+126 a b^4 x^4 (4 A+5 B x)+42 b^5 x^5 (3 A+4 B x)\right )}{504 x^9 (a+b x)} \]

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x)*(a^2 + 2*a*b*x + b^2*x^2)^(5/2))/x^10,x]

[Out]

-(Sqrt[(a + b*x)^2]*(42*b^5*x^5*(3*A + 4*B*x) + 126*a*b^4*x^4*(4*A + 5*B*x) + 168*a^2*b^3*x^3*(5*A + 6*B*x) +
120*a^3*b^2*x^2*(6*A + 7*B*x) + 45*a^4*b*x*(7*A + 8*B*x) + 7*a^5*(8*A + 9*B*x)))/(504*x^9*(a + b*x))

________________________________________________________________________________________

Maple [A]  time = 0.007, size = 140, normalized size = 0.5 \begin{align*} -{\frac{168\,B{b}^{5}{x}^{6}+126\,A{x}^{5}{b}^{5}+630\,B{x}^{5}a{b}^{4}+504\,A{x}^{4}a{b}^{4}+1008\,B{x}^{4}{a}^{2}{b}^{3}+840\,A{x}^{3}{a}^{2}{b}^{3}+840\,B{x}^{3}{a}^{3}{b}^{2}+720\,A{x}^{2}{a}^{3}{b}^{2}+360\,B{x}^{2}{a}^{4}b+315\,A{a}^{4}bx+63\,B{a}^{5}x+56\,A{a}^{5}}{504\,{x}^{9} \left ( bx+a \right ) ^{5}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{{\frac{5}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(b^2*x^2+2*a*b*x+a^2)^(5/2)/x^10,x)

[Out]

-1/504*(168*B*b^5*x^6+126*A*b^5*x^5+630*B*a*b^4*x^5+504*A*a*b^4*x^4+1008*B*a^2*b^3*x^4+840*A*a^2*b^3*x^3+840*B
*a^3*b^2*x^3+720*A*a^3*b^2*x^2+360*B*a^4*b*x^2+315*A*a^4*b*x+63*B*a^5*x+56*A*a^5)*((b*x+a)^2)^(5/2)/x^9/(b*x+a
)^5

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(b^2*x^2+2*a*b*x+a^2)^(5/2)/x^10,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.58019, size = 267, normalized size = 0.88 \begin{align*} -\frac{168 \, B b^{5} x^{6} + 56 \, A a^{5} + 126 \,{\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 504 \,{\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 840 \,{\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 360 \,{\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 63 \,{\left (B a^{5} + 5 \, A a^{4} b\right )} x}{504 \, x^{9}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(b^2*x^2+2*a*b*x+a^2)^(5/2)/x^10,x, algorithm="fricas")

[Out]

-1/504*(168*B*b^5*x^6 + 56*A*a^5 + 126*(5*B*a*b^4 + A*b^5)*x^5 + 504*(2*B*a^2*b^3 + A*a*b^4)*x^4 + 840*(B*a^3*
b^2 + A*a^2*b^3)*x^3 + 360*(B*a^4*b + 2*A*a^3*b^2)*x^2 + 63*(B*a^5 + 5*A*a^4*b)*x)/x^9

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (A + B x\right ) \left (\left (a + b x\right )^{2}\right )^{\frac{5}{2}}}{x^{10}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(b**2*x**2+2*a*b*x+a**2)**(5/2)/x**10,x)

[Out]

Integral((A + B*x)*((a + b*x)**2)**(5/2)/x**10, x)

________________________________________________________________________________________

Giac [A]  time = 1.17211, size = 298, normalized size = 0.98 \begin{align*} -\frac{{\left (3 \, B a b^{8} - A b^{9}\right )} \mathrm{sgn}\left (b x + a\right )}{504 \, a^{4}} - \frac{168 \, B b^{5} x^{6} \mathrm{sgn}\left (b x + a\right ) + 630 \, B a b^{4} x^{5} \mathrm{sgn}\left (b x + a\right ) + 126 \, A b^{5} x^{5} \mathrm{sgn}\left (b x + a\right ) + 1008 \, B a^{2} b^{3} x^{4} \mathrm{sgn}\left (b x + a\right ) + 504 \, A a b^{4} x^{4} \mathrm{sgn}\left (b x + a\right ) + 840 \, B a^{3} b^{2} x^{3} \mathrm{sgn}\left (b x + a\right ) + 840 \, A a^{2} b^{3} x^{3} \mathrm{sgn}\left (b x + a\right ) + 360 \, B a^{4} b x^{2} \mathrm{sgn}\left (b x + a\right ) + 720 \, A a^{3} b^{2} x^{2} \mathrm{sgn}\left (b x + a\right ) + 63 \, B a^{5} x \mathrm{sgn}\left (b x + a\right ) + 315 \, A a^{4} b x \mathrm{sgn}\left (b x + a\right ) + 56 \, A a^{5} \mathrm{sgn}\left (b x + a\right )}{504 \, x^{9}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(b^2*x^2+2*a*b*x+a^2)^(5/2)/x^10,x, algorithm="giac")

[Out]

-1/504*(3*B*a*b^8 - A*b^9)*sgn(b*x + a)/a^4 - 1/504*(168*B*b^5*x^6*sgn(b*x + a) + 630*B*a*b^4*x^5*sgn(b*x + a)
 + 126*A*b^5*x^5*sgn(b*x + a) + 1008*B*a^2*b^3*x^4*sgn(b*x + a) + 504*A*a*b^4*x^4*sgn(b*x + a) + 840*B*a^3*b^2
*x^3*sgn(b*x + a) + 840*A*a^2*b^3*x^3*sgn(b*x + a) + 360*B*a^4*b*x^2*sgn(b*x + a) + 720*A*a^3*b^2*x^2*sgn(b*x
+ a) + 63*B*a^5*x*sgn(b*x + a) + 315*A*a^4*b*x*sgn(b*x + a) + 56*A*a^5*sgn(b*x + a))/x^9